// INTENTION_TEXT: "Replace with a 'forEach' function call"
// WITH_STDLIB
// AFTER-WARNING: The expression is unused
fun foo() {
    val list = 1..4

    <caret>for (x in list) {
        x
    }
}